Add some element-type annotations to gtk apis
authorMatthias Clasen <mclasen@redhat.com>
Fri, 17 Sep 2010 13:26:39 +0000 (09:26 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 17 Sep 2010 13:26:39 +0000 (09:26 -0400)
gtk/gtkbindings.c
gtk/gtkcontainer.c
gtk/gtkradiobutton.c
gtk/gtkwidget.c

index 313b53ea98d5a538ee7b661eb881a7aa337c6c58..ff9a49f5a2b7ad67ae0b300a64f3682e4901944d 100644 (file)
@@ -769,7 +769,8 @@ gtk_binding_entry_remove (GtkBindingSet      *binding_set,
  * @keyval:       key value
  * @modifiers:    key modifier
  * @signal_name:  signal name to be bound
- * @binding_args: list of #GtkBindingArg signal arguments
+ * @binding_args: (transfer none) (element-type GtkBindingArg):
+ *     list of #GtkBindingArg signal arguments
  *
  * Override or install a new key binding for @keyval with @modifiers on
  * @binding_set.
index c5f8bd852af38d54183b79f65cea34c8e946e5ba..38a5f9a5b58598a3e9206bf192d4e22f6b6f1e10 100644 (file)
@@ -2480,9 +2480,10 @@ chain_widget_destroyed (GtkWidget *widget,
 }
 
 /**
- * gtk_container_set_focus_chain: 
+ * gtk_container_set_focus_chain:
  * @container: a #GtkContainer
- * @focusable_widgets: the new focus chain
+ * @focusable_widgets: (transfer none) (element-type GtkWidget):
+ *     the new focus chain
  *
  * Sets a focus chain, overriding the one computed automatically by GTK+.
  * 
index 6881e105c7114405f4446c3684a1a4d20022599a..bd11ef75b71fac829339c5a3b50fbf36d1dc72d7 100644 (file)
@@ -267,8 +267,8 @@ gtk_radio_button_get_property (GObject    *object,
 /**
  * gtk_radio_button_set_group:
  * @radio_button: a #GtkRadioButton.
- * @group: an existing radio button group, such as one returned from
- *  gtk_radio_button_get_group().
+ * @group: (transfer none) (element-type GtkRadioButton): an existing radio
+ *     button group, such as one returned from gtk_radio_button_get_group().
  *
  * Sets a #GtkRadioButton's group. It should be noted that this does not change
  * the layout of your interface in any way, so if you are changing the group,
index ddc923763f2ae43a9bfd01447a3a8596eed80d2a..b29e2f51bc91bdc5491979e85db5362d5ee0a695 100644 (file)
@@ -4850,16 +4850,18 @@ gtk_widget_remove_accelerator (GtkWidget      *widget,
 }
 
 /**
- * gtk_widget_list_accel_closures
+ * gtk_widget_list_accel_closures:
  * @widget:  widget to list accelerator closures for
- * @returns: a newly allocated #GList of closures
  *
  * Lists the closures used by @widget for accelerator group connections
  * with gtk_accel_group_connect_by_path() or gtk_accel_group_connect().
  * The closures can be used to monitor accelerator changes on @widget,
- * by connecting to the @GtkAccelGroup::accel-changed signal of the 
- * #GtkAccelGroup of a closure which can be found out with 
+ * by connecting to the @GtkAccelGroup::accel-changed signal of the
+ * #GtkAccelGroup of a closure which can be found out with
  * gtk_accel_group_from_accel_closure().
+ *
+ * Return value: (transfer container) (element-type GClosure):
+ *     a newly allocated #GList of closures
  */
 GList*
 gtk_widget_list_accel_closures (GtkWidget *widget)